<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Swiper demo</title>
  <!-- Link Swiper's CSS -->
  <link rel="stylesheet" href="./swiper.css">
 
  <!-- Demo styles -->
  <style>
    html, body {
      position: relative;
      height: 100%;
    }
    body {
      background: #eee;
      font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
      font-size: 14px;
      color:#000;
      margin: 0;
      padding: 0;
    }
    .swiper-container1 {
      width: 100%;
      height: 50%;
    }
    .swiper-container2 {
      width: 100%;
      height: 50%;
    }
    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;
 
      /* Center slide text vertically */
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
    }
	.swiper-wrapper{
		transition-timing-function: linear !important;
	}
  </style>
 
</head>
<body>
  <!-- swiper-no-swiping  样式是禁止鼠标左右滑动 -->
	<div class="swiper-container1  swiper-no-swiping">
    	<div class="swiper-wrapper">
	      	<div class="swiper-slide"><img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1599242770249&di=135dffb003ad633fbd174a3593d90979&imgtype=0&src=http%3A%2F%2Fi1.go2yd.com%2Fimage.php%3Furl%3D0QZpabz0Ao" alt=""></div>
	      	<div class="swiper-slide"><img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1599242770249&di=135dffb003ad633fbd174a3593d90979&imgtype=0&src=http%3A%2F%2Fi1.go2yd.com%2Fimage.php%3Furl%3D0QZpabz0Ao" alt=""></div>
	      	<div class="swiper-slide"><img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1599242770249&di=135dffb003ad633fbd174a3593d90979&imgtype=0&src=http%3A%2F%2Fi1.go2yd.com%2Fimage.php%3Furl%3D0QZpabz0Ao" alt=""></div>
	      	<div class="swiper-slide"><img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1599242770249&di=135dffb003ad633fbd174a3593d90979&imgtype=0&src=http%3A%2F%2Fi1.go2yd.com%2Fimage.php%3Furl%3D0QZpabz0Ao" alt=""></div>
	      	<div class="swiper-slide"><img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1599242770249&di=135dffb003ad633fbd174a3593d90979&imgtype=0&src=http%3A%2F%2Fi1.go2yd.com%2Fimage.php%3Furl%3D0QZpabz0Ao" alt=""></div>
	      	<div class="swiper-slide"><img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1599242770249&di=135dffb003ad633fbd174a3593d90979&imgtype=0&src=http%3A%2F%2Fi1.go2yd.com%2Fimage.php%3Furl%3D0QZpabz0Ao" alt=""></div>
	      	<div class="swiper-slide"><img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1599242770249&di=135dffb003ad633fbd174a3593d90979&imgtype=0&src=http%3A%2F%2Fi1.go2yd.com%2Fimage.php%3Furl%3D0QZpabz0Ao" alt=""></div>
	      	<div class="swiper-slide"><img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1599242770249&di=135dffb003ad633fbd174a3593d90979&imgtype=0&src=http%3A%2F%2Fi1.go2yd.com%2Fimage.php%3Furl%3D0QZpabz0Ao" alt=""></div>
	    </div>
  	</div>
	
  <!-- Swiper JS -->
  <script src="./swiper.min.js"></script>
 
  <!-- Initialize Swiper -->
  <script>
    var mySwiper1 = new Swiper ('.swiper-container1', {
        loop: true,
        speed:5000,//匀速时间
	    autoplay: {
	    	delay: 0,
	    	stopOnLastSlide: false,
	    	disableOnInteraction: false,
	    },
    })
  </script>
  
</body>
</html>